package com.hyt.it.ogt.kq.service.gov.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hyt.it.ogt.kq.service.gov.model.entity.TaskRoomTestReport;
import com.hyt.it.ogt.kq.service.gov.model.vo.TestReportResultDetailVO;
import com.hyt.it.ogt.kq.service.gov.model.param.TestReportResultParam;
import com.hyt.it.ogt.kq.service.gov.model.vo.TestReportResultVO;

/**
 * <p>
 * 考场测试报告表 Mapper 接口
 * </p>
 *
 * @author huangyh
 * @since 2021-08-13
 */
public interface TaskRoomTestReportMapper extends BaseMapper<TaskRoomTestReport> {

    /**
     * 考场测试分页数据
     * @param pageParam
     * @param param
     * @return
     */
    Page<TestReportResultVO> page(Page<TestReportResultParam> pageParam, TestReportResultParam param);

    /**
     * 根据id获取考场信息
     * @param id
     * @return
     */
    TestReportResultDetailVO getRoomInfoById(String id);
}
